#!/bin/sh
#
#monitor the ups svr ,if the server down ,restart it and warning
# added by selina@5.19
#
##########

cdir=`dirname $0`
log=$cdir/monitor.log
dt=`date "+%Y-%m-%d %H:%M:%S"`

echo -n  "[$dt] " >>${log}
$cdir/check_stat.sh>>${log}
